package cc.mcyx.ychat.controller.chat

import cc.mcyx.ychat.vo.request.ChatRequestVo
import io.swagger.annotations.Api
import io.swagger.annotations.ApiOperation
import io.swagger.annotations.ApiParam
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestBody
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

@RestController
@RequestMapping("api/chat")
@Api("聊天", tags = ["聊天处理"])
open class ChatController {
    @PostMapping("send")
    @ApiOperation("发送消息")
    fun send(@ApiParam(required = true) @RequestBody chatRequestVo: ChatRequestVo) {

    }
}